package com.s07.e01.model;

public class User extends Object{
	
	private String name;
	private String surname;
	private Address address;
	
	public User(String name, String surname) {
		setSurname(surname);
		setName(name);
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}

	public void process() {
		
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "User [name=" + name + ", surname=" + surname + ", address="
				+ address + "]";
	}
	
	
}
